/*
 * @Author: qsy
 * @Date: 2025-04-06 13:19:39
 * @LastEditors: qsy
 * @LastEditTime: 2025-04-06 13:23:11
 * @Description: 主函数
 */
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "my_mqtt.h"
#include "wifi_connect.h"

void app_main(void)
{

    wifi_model_NVS_init(); // 初始化wifi模块、以及NVS存储
    wifi_connect(MAX_AP_COUNT, EXAMPLE_ESP_WIFI_PASS, EXAMPLE_ESP_WIFI_SSID); // 连接wifi

    while (1)
    {
        printf("Hello, world!\n");
        // 延时1s
        vTaskDelay(1000 / portTICK_RATE_MS);
    }
    
}
